package com.easychat.entity.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Author Dongdong
 * @注释
 */
@Component("appConfig")
public class AppConfig {
    //web scoket 端口
    @Value("${ws.port}")
    private Integer wsPort;
    //文件目录
    @Value("${project.folder}")
    private String  projectFolder;
    //超级管理与那 email
    @Value("${admin.email}")
    private String adminEmails;

    public Integer getWsPort() {
        return wsPort;
    }

    public void setWsPort(Integer wsPort) {
        this.wsPort = wsPort;
    }

    public String getProjectFolder() {
        return projectFolder;
    }

    public void setProjectFolder(String projectFolder) {
        this.projectFolder = projectFolder;
    }

    public String getAdminEmails() {
        return adminEmails;
    }

    public void setAdminEmails(String adminEmails) {
        this.adminEmails = adminEmails;
    }
}

